package com.hddx.service;

import com.hddx.domain.Book;
import com.hddx.mapper.BookMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class BookServiceImpl implements BookService{
@Autowired
    private BookMapper bookMapper;
    @Override
    public Book queryBookById(int id) {
        return bookMapper.queryBookById(id);
}

}
